WP_Statistics\Utils\Query D

Total Complexity 139
Dependencies 4
Dependents 8
Total lines 705
Lines of code 422
Logical lines of code 280
Comment lines 97
Methods 35
Properties 16

Methods 35

Method Rating Maintainability Complexity Lines of code
generateCondition()
B
41 24 47
selectQuery()
A
49 10 32
join()
A
51 8 23
whereDate()
A
54 8 20
orderBy()
S
50 7 29
set()
S
56 6 18
maybeDecorate()
S
59 6 15
updateQuery()
S
58 5 15
whereNull()
S
61 5 12
whereNotNull()
S
61 5 12
where()
S
60 5 12
getVar()
S
59 4 15
getAll()
S
59 4 15
getCol()
S
59 4 15
getRow()
S
59 4 15
getTable()
S
61 3 13
groupBy()
S
65 3 9
perPage()
S
64 3 9
joinQuery()
S
63 3 9
buildQuery()
S
64 2 9
prepareQuery()
S
71 2 6
canUseCacheForDateRange()
S
71 2 6
select()
S
65 2 9
whereRelation()
S
70 2 6
whereRaw()
S
67 2 8
execute()
S
70 1 6
decorate()
S
77 1 4
getQuery()
S
73 1 5
fromQuery()
S
75 1 4
from()
S
76 1 4
update()
S
70 1 6
bypassCache()
S
82 1 3
allowCaching()
S
77 1 4
removeTablePrefix()
S
78 1 3
__construct()
S
77 1 4